
































  
  


  

  
  	
  

  

	
	

	
	
	
	
	




  
















	
	
	
	
	
	
	
	
	
	
  
  


	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




    
  






  
    
  




	
	
	
	
	



<!--NewPage-->
<HTML>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Csql%5CTransferUpdater%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:38 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD>

<!-- Generated by CFDoc on 07-Apr-2007 01:17 PM -->

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY>


	



<HR>
<!-- ======== START OF CLASS DATA ======== -->

<div style="float:left;">

<a href="default.html" style="float: right;">Documentation home page</a>
</div>
<H2>
<span style="font-size: smaller">
<a href="components3650.html" target="components">transfer.com.sql</a>
</span>
<BR>
Component TransferUpdater</H2>


<PRE>
<B>transfer.com.sql.TransferUpdater</B>
</PRE>


<HR>
Does the update of a transfer object on the DB


<HR>

<P>


<!-- ========== PROPERTY SUMMARY =========== -->

<A NAME="property_summary"><!-- --></A>






<!-- ========== METHOD SUMMARY =========== -->




<A NAME="method_summary"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>











	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	



	<TR BGCOLOR="eeeeff" CLASS="TableRowColorConstructor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="contentdfb7.html" target="_self">TransferUpdater</a></CODE></TD>
	<TD><CODE><B><A HREF="#init()">init</A></B>(<a href="content2efb.html">Datasource</a> Datasource,&nbsp;<a href="content7dd0.html">ObjectManager</a> objectManager,&nbsp;<a href="content029c.html">Nullable</a> nullable,&nbsp;<a href="content9aec.html">Transaction</a> transaction,&nbsp;<a href="content41fe.html">TQLConverter</a> tQLConverter)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor
	</TD>
	</TR>
	

	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content2efb.html" target="_self">Datasource</a></CODE></TD>
	<TD><CODE><B><A HREF="#getDatasource()">getDatasource</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content2861.html" target="_self">MethodInvoker</a></CODE></TD>
	<TD><CODE><B><A HREF="#getMethodInvoker()">getMethodInvoker</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content029c.html" target="_self">Nullable</a></CODE></TD>
	<TD><CODE><B><A HREF="#getNullable()">getNullable</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content7dd0.html" target="_self">ObjectManager</a></CODE></TD>
	<TD><CODE><B><A HREF="#getObjectManager()">getObjectManager</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content41fe.html" target="_self">TQLConverter</a></CODE></TD>
	<TD><CODE><B><A HREF="#getTQLConverter()">getTQLConverter</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content9aec.html" target="_self">Transaction</a></CODE></TD>
	<TD><CODE><B><A HREF="#getTransaction()">getTransaction</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#invokeGetPrimaryKey()">invokeGetPrimaryKey</A></B>(<a href="content3bbf.html">TransferObject</a> transfer)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the primary key value from an object
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setDatasource()">setDatasource</A></B>(<a href="content2efb.html">Datasource</a> Datasource)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setMethodInvoker()">setMethodInvoker</A></B>(<a href="content2861.html">MethodInvoker</a> MethodInvoker)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setNullable()">setNullable</A></B>(<a href="content029c.html">Nullable</a> Nullable)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setObjectManager()">setObjectManager</A></B>(<a href="content7dd0.html">ObjectManager</a> ObjectManager)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setTQLConverter()">setTQLConverter</A></B>(<a href="content41fe.html">TQLConverter</a> TQLConverter)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setTransaction()">setTransaction</A></B>(<a href="content9aec.html">Transaction</a> Transaction)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#throw()">throw</A></B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Throws an Exception
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#update()">update</A></B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> useTransaction)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the Transfer in the DB
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#updateBasic()">updateBasic</A></B>(<a href="content3bbf.html">TransferObject</a> transfer)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the single table portion of the transfer element table
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#updateManyToMany()">updateManyToMany</A></B>(<a href="content3bbf.html">TransferObject</a> transfer)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the many to many portion of the transfer
	
	
	</TD>
	</TR>
	
</TABLE>



&nbsp;
<P>



<!-- ============ METHOD DETAIL ========== -->


<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>












<A NAME="getDatasource()"><!-- --></A><H3>
getDatasource</H3>

<PRE>
private <A HREF="content2efb.html" title="">Datasource</A> <B>getDatasource</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getMethodInvoker()"><!-- --></A><H3>
getMethodInvoker</H3>

<PRE>
private <A HREF="content2861.html" title="">transfer.com.dynamic.MethodInvoker</A> <B>getMethodInvoker</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getNullable()"><!-- --></A><H3>
getNullable</H3>

<PRE>
private <A HREF="content029c.html" title="">Nullable</A> <B>getNullable</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getObjectManager()"><!-- --></A><H3>
getObjectManager</H3>

<PRE>
private <A HREF="content7dd0.html" title="">transfer.com.object.ObjectManager</A> <B>getObjectManager</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getTQLConverter()"><!-- --></A><H3>
getTQLConverter</H3>

<PRE>
private <A HREF="content41fe.html" title="">transfer.com.sql.TQLConverter</A> <B>getTQLConverter</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getTransaction()"><!-- --></A><H3>
getTransaction</H3>

<PRE>
private <A HREF="content9aec.html" title="">transfer.com.sql.Transaction</A> <B>getTransaction</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="init()"><!-- --></A><H3>
init</H3>

<PRE>
public <A HREF="contentdfb7.html" title="">TransferUpdater</A> <B>init</B>(<a href="content2efb.html">Datasource</a> Datasource,&nbsp;<a href="content7dd0.html">ObjectManager</a> objectManager,&nbsp;<a href="content029c.html">Nullable</a> nullable,&nbsp;<a href="content9aec.html">Transaction</a> transaction,&nbsp;<a href="content41fe.html">TQLConverter</a> tQLConverter)</PRE>
<DL>
  <DD>
  	
  	
		Constructor
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2efb.html">Datasource</a> Datasource</code> - The datasource BO</DD>
			
			  <DD><code><a href="content7dd0.html">ObjectManager</a> objectManager</code> - Need to object manager for making queries</DD>
			
			  <DD><code><a href="content029c.html">Nullable</a> nullable</code> - The nullable class</DD>
			
			  <DD><code><a href="content9aec.html">Transaction</a> transaction</code> - handles transactions</DD>
			
			  <DD><code><a href="content41fe.html">TQLConverter</a> tQLConverter</code> - Converter for {property} statements</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="invokeGetPrimaryKey()"><!-- --></A><H3>
invokeGetPrimaryKey</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>invokeGetPrimaryKey</B>(<a href="content3bbf.html">TransferObject</a> transfer)</PRE>
<DL>
  <DD>
  	
  	
		Gets the primary key value from an object
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer object to insert</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setDatasource()"><!-- --></A><H3>
setDatasource</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setDatasource</B>(<a href="content2efb.html">Datasource</a> Datasource)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2efb.html">Datasource</a> Datasource</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setMethodInvoker()"><!-- --></A><H3>
setMethodInvoker</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setMethodInvoker</B>(<a href="content2861.html">MethodInvoker</a> MethodInvoker)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2861.html">MethodInvoker</a> MethodInvoker</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setNullable()"><!-- --></A><H3>
setNullable</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setNullable</B>(<a href="content029c.html">Nullable</a> Nullable)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content029c.html">Nullable</a> Nullable</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setObjectManager()"><!-- --></A><H3>
setObjectManager</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setObjectManager</B>(<a href="content7dd0.html">ObjectManager</a> ObjectManager)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content7dd0.html">ObjectManager</a> ObjectManager</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setTQLConverter()"><!-- --></A><H3>
setTQLConverter</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setTQLConverter</B>(<a href="content41fe.html">TQLConverter</a> TQLConverter)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content41fe.html">TQLConverter</a> TQLConverter</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setTransaction()"><!-- --></A><H3>
setTransaction</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setTransaction</B>(<a href="content9aec.html">Transaction</a> Transaction)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content9aec.html">Transaction</a> Transaction</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="throw()"><!-- --></A><H3>
throw</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>throw</B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</PRE>
<DL>
  <DD>
  	
  	
		Throws an Exception
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> type</code> - The type of exception</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> message</code> - The message to accompany the exception</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> detail=""]</code> - The detail message for the exception</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="update()"><!-- --></A><H3>
update</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>update</B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> useTransaction)</PRE>
<DL>
  <DD>
  	
  	
		Updates the Transfer in the DB
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transferObject to update</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> useTransaction</code> - Whether or not to use an internal transaction block</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="updateBasic()"><!-- --></A><H3>
updateBasic</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>updateBasic</B>(<a href="content3bbf.html">TransferObject</a> transfer)</PRE>
<DL>
  <DD>
  	
  	
		Updates the single table portion of the transfer element table
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transferObject to update</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="updateManyToMany()"><!-- --></A><H3>
updateManyToMany</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>updateManyToMany</B>(<a href="content3bbf.html">TransferObject</a> transfer)</PRE>
<DL>
  <DD>
  	
  	
		Updates the many to many portion of the transfer
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transferObject to update</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>







</BODY>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Csql%5CTransferUpdater%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:38 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
</HTML>